package com.yonyou.test.springTest.bean;

import org.springframework.stereotype.Component;

@Component(value="dog")
public class Dog extends Animal{
	
	public void say() {
		System.out.println("wang wang wang");
	}
}
